package geektime.spring.springbucks.customerservice.integration;

import geektime.spring.springbucks.customerservice.model.Coffee;
import java.util.Collections;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class FallbackCoffeeService extends AbstractFallbackCoffeeService {

  @Override
  public List<Coffee> getAll() {
    log.warn("Fallback to EMPTY menu.");
    return Collections.emptyList();
  }
}
